package com.lx.ngsl.exam.score.repository;

import java.util.List;

import org.springframework.data.domain.Page;
import org.springframework.data.domain.Pageable;
import org.springframework.data.jpa.domain.Specification;
import org.springframework.data.jpa.repository.JpaRepository;

import com.lx.ngsl.exam.score.entity.ScoreEntity;

public interface ScoreRepository extends JpaRepository<ScoreEntity, String> {

	Page<ScoreEntity> findAll(Specification<ScoreEntity> spec, Pageable pageable);
	List<ScoreEntity> findByUserId(String userid);
}
